Better indexing for blocks in kernel
Possibly working blockMin function
Restructure some of the rendering code so we can do ray origin calculation