estimate individual genotype
r239: simplified some code