choice_probabilities function

Compute choice probabilities