Adapted Nonlinear Optimization Method for Production Data and 4D Seismic Inversion