Variational projection methods for gradient crystal plasticity using Lie algebras