fft tests working: figured out fourier ordering. need to rewrite all loops