fixed the return value of nearest_object_intersecting_ray to be what is expected...