Wellbore coordinate frame and rotation matrix, Reservoir Geomechanics