fix bug causing median() to break if only one tick recorded
Merge pull request #2 from capablemonkey/master

fix bug causing median() to break if only one tick recorded