[linsys] introduct _Solver._prepare()
[tests] minor pep8 change
[linsys] new Gmres class
[linsys, tests] adapt Gmres tests