Generating orthogonal matrix

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