Use svd to compute eigenvectors and eigenvalues.