savgol function

Savitzky-Golay smoothing