Ray Intersection Fixed and Tested