Coarse scale simulation of horizontal wells in heterogeneous reservoirs