Computational Gradient Plasticity