finished gaussianKernel.m in ex 6