updated calculateEigneGene