Made kernel calls more uniform and probobly fixed issue @Skip
Merge branch 'device_rewrite' of https://github.com/gfokkema/RT-Raytracing into device_rewrite