still working out the bugs in the raytracer