HAM/3, a semi-empirical MO theory. I. The SCF method