Rotations in computational solid mechanics