worked on functionality for raytracing in Ray