Prediction correction calculation