Restructured code that generates similarity matrix when clustering by similarity
Display unclustered notes when clustering by similarity.