pep8 fixes for calc-error-profile