On gradient regularization for numerical analyses in the presence of damage,