Added validateGenotype method