Compute the eigenvalues of and find the corresponding eigenvectors