modified the FFT. need to make the dumptofile method work for our needs