Ray Tracing Intersection Algorithm