Simulation of directional well trajectory using tension spline