updated calculateEigenGene