A bunch of R functions related to spectral clustering.