Added transform functions

Closes https://github.com/PistonDevelopers/vecmath/issues/52
Closes https://github.com/PistonDevelopers/vecmath/issues/72