Utility Math functions that are used by other classes.

@author Yasser Ganjisaffar (http://www.ics.uci.edu/~yganjisa/)