wrapped slatec gmres solver in a simpler interface