logpdf implemented for Dirichlet distribution