code: def diri(table):
      
      t = []
      for i in table:
          a = [j + 1 for j in i]
          t.append(np.ndarray.tolist(np.random.mtrand.dirichlet(a)))
      return t
docs: from SparCC - "randomly draw from the corresponding posterior
      Dirichlet distribution with a uniform prior"