Tidy up integrals and integrals_generate_code docstrings