compute eigenvector/eigenvalue