Spectral clustering and related utilities.