Text this: A state-dependent soil model and its application to principal stress rotation simulations