adapt simper to the new permutation API
adapt permutest.betadisper to the new permutation API