Update movingAverage.c