reconciled SCF formulation

in document with the one the program