fixing error message for integrals and aligning in pep8 style with hanging indent