harmonic extractor now seems to follow matlab equivalent