Replaced the FFT module with a more generic one I found online.