Implemented rayTraceAll