Library for performing spectral clustering in C++