Fix Mean

* Makes the mean actually report the mean (fixes #1)
* Adds a test for the mean
* Bumps the version
* Pulls apart some of the stat processing into new methods for easier testing