Adaptive weighting input estimation of a nonlinear system