Modeling Inertial Measurement Units and Anlyzing the Effect of Their Errors in Navigation Applications