Removed unused functions and cleaned up documentation somewhat.
Also removed deprecated math sturctures (replaced all instances of Vector3
with Vector3f).