updated quaternion move to math package