Bug fix in KalmanFilter::predict when applying energy loss correction