An open-source unconstrained stress updating algorithm for the modified Cam-clay model