Fixed an evil bug which was a bad implementation of the midpoint formula. Added tests to assert this doesn't go buggy again.
Added midpoint checking and altered the order (though it shouldn't matter -- the code reads better for it.)
Uncommented the second shape's normal debugging.