pek1dclasses added function to get median model misfit