Numpy Moving Average Filter Implementation