compute_expected_distance function

Expected value of metrics under a Mallows rank model