use np.dot() for inner loop of eigenvector calculation