Kernel Smoothing in Matlab door