Converting Quaternions to Euler Angles in C++ with glm