Collective energies from momentum- and angular momentum-projected determinantal wavefunctions