cum.residuals function

Model validation based on cumulative residuals