Added Gaussian window function.