code: def geometricBar(weights, alldistribT):
      
      assert(len(weights) == alldistribT.shape[1])
      return np.exp(np.dot(np.log(alldistribT), weights.T))
docs: return the weighted geometric mean of distributions