Spectral Clustering Python From Scratch