Scala Raytracer