Added euclidean cluster extraction