fix MPM algorism bugs by dokechin · Pull Request #6 · peterkhayes/pitchfinder

pitchfinder.js MPM algorism always returns -1 value. So I fixed some bugs, refered source on https://gist.github.com/GRGSIBERIA/735e8727c4e0c152a841