Fixed dimensions of slice matrices
Fixed calculation of Z depth for split calculation
Shadow maps work now
Added in offset to fix some shadow problems
Fixed crash because buffers remained bound after mapping and unmapping
Unbinds textures and other buffers after use to reduce crashes in Maya
Restructured to ensure remove ModelNode design