SavitzkyGolayFilter MATLAB-based Savitzky-Golay filter of arbitrary polynomial order and window size capable of differentiation