Fix QuatToAngles and make it work with unnormalized quaternions.
Fix QuatToAngles and make it work with unnormalized quaternions.

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon