RayToPointDistance method added.