Started implementing the 3 types of spectral clustering directly.