Ex6: new Gaussian kernel solution