Added a Quaternion to DCM conversion function.