implemented raytracing in opencl, fixed bug