Calculating average number of phenotype offsprings