use SensorManager.getQuaternionFromVector to get the quaternion