At i iteration, E step : for k=1,2,...,K and for j=0,1,...,H(k)-1, compute
M step : for k=1,2,...,K and for j=0,1,...,H(k)-1,