add copyright to SimpleMovingAverage implementation