Optimizing Parametrized Estimators and Controllers via Low-Discrepancy Sampling Techniques