Some new tests, minor code changes

Added new unittests for: MAD, geometric mean, trimmed mean, median; and
debugged code changes:

Imports math library
trimmed data function
trimmed mean
mode
median absolute deviation
geometric mean
harmonic mean