Seeking intersection of a batch of 3D lines is more of a minimization problem than an actual intersection test, as usually done with 2 rays
Originally appeared here:
Intersect Multiple 3D Lines (Closest Point)
Go Here to Read this Fast! Intersect Multiple 3D Lines (Closest Point)