An implicit numerical scheme for cyclic elastoplasticity and ratcheting under plane stress conditions. (June 2021)