Efficient Implementation of Variation after Projection Generalized Hartree-Fock