residuals.improvedpreliminaryTest function

Extract Model Residuals