fixed mean function to correctly test for floats
i added a median function
Merge pull request #1 from abifree/median

Accepted median
I added a test for the median function
Merge pull request #1 from AndrewJSchoen/master

Added median test function