MRG Vbgmm dpgmm weights fix

This is an update on #1294, adding tests.
This closes #393.