Separate vocabs.
Vectorize phi calculations in M-step.
Parametrize phi.