missed a bit
Merge pull request #254 from mikedewar/movingaverage

missed a bit