add prepareEignevectors