getResiduals.QualityAssessmentModel function

Calculates the residuals from a probe-level model