fit a gauss curve into a curve (numeric vector). Note that results will be skewed if scanrate is low or heterogeneous (e.g. ddMS2 experiments).
getgauss(x, pval = 1)
x
numeric() to fit the curve