according to Yosef comment, changed the function intersect_rt to return an array of 3 doubles