Configuration mixing calculations in the Hartree-Fock representation