Compute Discrete Maximum Entropy Distributions