bugfix mbarpmf.m