Before compiling, probably have a bunch of errors.
Finished doing line based convex hull stuff. Works ok, worried that it will bias towards maximum controls.