x[k][1]=means[i][1]+d0*vec1[i][1]+d1*vec2[i][1];
k++;
}
}
Kmeans kmean=new Kmeans(x,guess); // *** put in some weird guesses
for (i=0;i<100;i++) {
flag=kmean.estep();
if (flag == 0) break;
kmean.mstep();
}
// check for convergence
// System.out.println(" flag: %f\n", flag);
localflag = flag > 0;