DLResiduals function

Prediction residuals