Gradient theories for scale dependent material simulations