add some documentation about the memory management to integrals.f90