[af_math] quaternion to matrix conversion