(3) Compute the membership and assign the elements to the clusters, according to
;
(4) Compute the new cluster centers ;
Algorithm 2: CM algorithm.