fixed some of the memory leaks, and hopefully increased speed by pre-calculating the genotype (201) list beforehand