return the distance of an intersection along with the intersection point
refactored Midje wrappers, and some small improvements
refactored Midje wrappers
somewhat improved Midje wrappers