Obtaining patterns with Spectral Clustering. Seems to be working