Code to compute a table of zero sum dist. params