For Android mobile phones in the gyroscope angular measurement, KF algorithm is included.
Attitude, inclination angle detection can be used for a variety of mobile phones.
// Integrate around this axis with the angular speed by the timestep
// in order to get a delta rotation from this sample over the timestep
// We will convert this axis-angle representation of the delta rotation
// into a quaternion before turning it into the rotation matrix.