adding a quaternion for the joint rotation