A Constrained Clustering Algorithm for Shape Analysis with Multiple Features