Added refractions to the pathtracer