implemented fourier analysis, but data not fitting