Optimization of Nonconventional Well Type, Location and Trajectory