spline works, have fourier in python