fix SimpleMovingAverage::reset()