Implemented basic clustering of crystal forms