ADD: residual accessor function
Merge pull request #7 from cttedwards/diags-package

ADD: residual accessor function