Added Shamanskii method to Newton-GMRES solver