Ellipsoidal k-means algorithm