added error logging in the case where gmres returns a nonzero error indi...

...cator