Fix bug with genotype bit to value conversion. Add test.
Adding mating pool test