Fixed eigenvector calculation memory error