A multiconfiguration hartree-fock approach to atomic structure calculations