Add support for localizationValid and return a Vec3 from currentGravity.
Increase the speed of the sensor measurements.
Use new local_camera_transform function for camera rotation.