implemented gaussian filter using FFT