ntheory pep8 fixups