updated some of the krylov methods for pep8 compat