acorr_diagnostics function

Autocorrelation diagnostics for residuals