Variational wave functions for frustrated magnetic models