mocking out collision interfaces. Flip flopping on minimum distance detection. Algebraic solution is definitely possible, but golden section search might be easier to implement