Solution procedures for J3 plasticity and viscoplasticity