Changed the printing again. Too bad I can't find the bugs...
Fixed the Fock build code. Conditional was wrong for ERI/TEI indexing.
Move density and Fock builds into functions.