Fixed some bug in studyRejectedPop, studyAcceptedPop and
studyPerturbedSamples