Constrained non-linear fitting for stochastic modeling of inertial sensors