pep8 fixes in mesolve