Refactor light.c; get_intersection_color was getting to big.