updated quaternion averaging with slerp method