3D Geomechanical Modeling of Shale Formations and its Application in Borehole Stabilization