Updated post with Fourier transform explanation.