Extends Array class with method which calculates applies Savitzky-Golay filter used for smoothing the data
>= 0
John T. Prince, Ondra Beneš