Keeping the top k eigenvectors by ordering them by descending eigenvalues