Simple Math Functions for the SimMetrics similarity equivalence library.