Added quaternion support

quaternion math enabled with basic value checking