More generic input format for kmeans: just comma- or space-separated.