Corrections to Android orientation estimation