backup commit before some simplifications of the radial integrals
a bug was introduced somewhere; this is an intermediate commit
update of dft_loop
cleanup and fixes