How to get GMRES to work