Update MovingAverageStepDetector.java