Initial implementation of math library

Credit to Stapel, Elizabeth. "Mean, Median, Mode, and Range."
Purplemath. Available from
http://www.purplemath.com/modules/meanmode.htm.