delete class GenotypeMatrix and Locus