The width of the window is inversely proportional to the parameter a.
Use larger a for a narrower window. Use larger m for a smoother
curve.
$$w = e^{(-(a*x)^{2}/2 )}$$
for x <- seq(-(n - 1) / n, (n - 1) / n, by = n).
The exact correspondence with the standard deviation of a Gaussian
probability density function is \(\sigma = (n - 1) / (2a)\).