use quaternions to align local axis of BVH