finding the distance between two skew lines in 3D space