method to return all intersections, not just the first

shape:intersectionsRay takes the same arguments as shape:intersectRay but returns an unordered table of intersection t values instead of just the smallest non-zero one.