Numerical Simulation of Horizontal Wells