Fully working solver for molecular and atomic restricted Hartree-Fock