Make genotype coding more robust; still need to handle X chromosome (http://www.biostars.org/p/62635/)