calculatePermutedScoreByGeneSampling function

Calculate the permuted latent trait by gene sampling