added SimpleMovingAverage wrapper