I added a median
fix my mean function
Merge pull request #1 from jknowles/median

I added a median
added median2 which is same as median
Merge pull request #1 from rphessel/master

I have copied the median to median2.