Finds goals and distances using contours, not bounding boxes

Also removed two bad library references