BUG: Direct QR code not checking required inputs

The corner case of using pre-computed QR did not check all required
inputs were available.  Slight improvement in test coverage.
Added test for norm resid when model fits perfectly.
Fixes test for incorrect sigma array test.
Fixes test for direct vs computed QR eigenvalues.