Refactoring ODP-bootstrap. Added calculations to ODP-Residuals and scaled-residuals.