Utility module
givens Nx3 arrays for ray origin and directions, return the 3D point of closest intersection, found in the least-squares sense.
See https://math.stackexchange.com/q/1762491