fix #21
Merge pull request #30 from stevengj/fixmedian

fix #21