Update SimpleMovingAverage.java