Median Value and getNoteFromFrequency Implemented