Rename castRaysClosestHit -> castRays, refactor rayCastKernel.