In-Situ Stress Inversion Based on Circular and Elliptical Borehole Model