compute.cwres function

Compute the Conditional Weighted Residuals