similarity measure according to angle, now it is time to reduce the number of clusters