Add quaternion based rotation