Fourier kernel numerical fixes