fix simple mdmr; check for ys shape to mdmr
fix perms usage in calc_mdmrs
updated calc_mdmr and mdmr tests