Validated Gaussian kernel-- now matches matlab 100%