Fixed mpd calculations in phydist