Function rayIntersectLineDistance

Distance to ray intersection with a line