Applies a gaussian lowpass filter to the input. The filtering is performed in the Fourier domain, and this function therefore applies both forward and reverse FFT