make sure there are at least 2 components

If there's only one component, we can't initialize the Dirichlet
distribution, because the parameter is a 1x1 matrix.

CC @chrisgioia64