Model of inertial measurement unit. Matlab