new ssw ssb methods for spectral clustering