Remove dependency on cgmath

Closes https://github.com/PistonDevelopers/hematite/issues/158