bugs++
Fix movingAverage() calculation

Each point holds the average of the preceding points, not including
itself.