Fixed the raytracer