Added median function to stats.py
Merge pull request #1 from dmnielsen/master

Added median function to stats.py