Finished timeClosestToRay