Simultaneous Parameter Estimation and State-Estimator Tuning for Fundamental Models