Simple Raytracer in Java