Fix bug: scaling of Gaussian kernel.