fixed mean function to correctly test for floats
Added median to stats.py
Merge pull request #1 from cmhmh/median

Median