Drilling Automation: An Automatic Trajectory Control System