implemented funcs for getting rotation and translations as quaternions