Move residual step before smooth one
This MR fixes the issue with the smooth clock being used to calculate the residuals. By moving the residual step, the unsmoothed clock is used instead.
This MR fixes the issue with the smooth clock being used to calculate the residuals. By moving the residual step, the unsmoothed clock is used instead.