Numerical Treatment of Material Equations with Yield Surfaces