[#94] Intersection now returns closest hit, removed unnecessary extra material buffer in shader and refactored entire raytracing compute shader