MATLAB implementation of Gaussian low-pass filtering