residuals.flexsurvreg function

Calculate residuals for flexible survival models