working on spectral embedding