Modifications on IMU earth self-alignment