Molecular Orbital Studies of Diatomic Molecules. I. Method of Computation for Single Configurations of Heteronuclear Systems