-Fixed bug in raytracer code