Compute distribution of dice maximum | Quantedge