Moving Average Algorithm, Equation of the moving average M&1 filter.