Fixed incorrect block allocation.
Naive ray allocation successful.
Need to now include stochastic sampling
Added start of scan algorithm.

Implemented the stochastic ray allocation kernel. Need to finish implementing scan before can test either.
Added some code from raytracer for sample allocation.
Added mode change controls.
Added some array clearing kernels.
Finished first crack at exclusive scan implementation.
Fixed several bugs in the scan code. Something is still wrong in the sweep down code I think.