Spectral clustering matlab implementation