C code for doing Fast Fourier Transform (FFT), based on code originally by Don Cross