Matlab Code For Smoothing Filter