Cleaned up unused code.
Added in the 3D cube kernel.
Cube kernel is now aware of the viewport size, and more 3D polygons are added.