Updated to reflect the usage of Goertzel in place of the FFT