Approximate Gaussian processes using the Fourier basis