Adaptive Control and Data Assimilation for Nonlinear Systems.