Reconfigured functions so I could pass in materials and rendering options really simply to the cuda kernel.

These should be reconfigurable on the fly, so I'll implement some keyboard options soon to affect that.
Implemented a simple keyboard interface that switches between rendering modes. Successfully tested them.
Formating corrections