Added in cuda error checking
debugged a bunch of functions
image generation and affine transformations are up and running
will work on camera transforms next