Changed survival fitting functions and residuals to use units.Surv