integrate x and b better with GMRES solver
work in progress for the testing