Implemented cuda code for lambertian