Improvement of set_pars and set_times in pymosim