Fix gyroscope
add support for geo corrected magnetometer