permutationprobabilities..not working yet