Spectral clustering for arbitrary similarity matrices implemented and successfully tested.