B function

Normalizing constant for the hyperdirichlet distribution