added the OneStepPredictionError method