Converted Quat4d into template
Unified naming scheme
Merge pull request #16 from msteiger/quat4_template

Converted Quat4 into a template