More debugging, speeding up integrals.