1. BugFixes to raytracer