add spectral and kmeans clustering scripts