I added a median function
Merge pull request #1 from tweyna/median

I added a median function