Viscoplasticity using peridynamics