weightedGaussian function

Compute the spectral signature using Gaussian peaks.