[cluster] Improve tests and bugfix variational

o fix init of nu
o regularize N_comp to avoid inf
o replace some loops with einsum
o rigorous test of variational bayes (not VB merge)