Revert "Revert "Add FFT""

This reverts commit 830c0602a08c61b1b7ca1b95a77cbdc5ba4d0295.