Spectral clustering based on local linear approximations