Reformat raytraceKernel methods to match my coding style.