Fix up integrals
Fixing integrals