A simple 1D FFT