Added getGenotype.m