Added refraction to raytracer