Converted Quat4 into a template