checked 1D splines, working fine, adjusted some minor details in the fourier routines