More convex hull test code. Still needs dependent variables added back at the end.
Initial test code for convex hull calculation to work with global minimization.