Calculate the normalizing coefficient, as a function of the lambda parameter, and the size of the sequence space.
C_lam(lambda, dists = NULL, dists.table = NULL)
Spread parameter for Mallows' model.
Vector of all distances from each sequence to 1:N
Table version of "dists" above.
Normalizing coefficient of Mallows' model in N! space with lambda = lambda.