cluster         Functions for clustering
