Fixed a bunch of compiler errors. Voxelization runs now, but it doesn't yet work correctly.