Gaussian Frequency Calculation