removed unneeded eiganvalue calculation