Changed dynamical matrix function file to eigenvector