allow P and G as input, fix lg and lgx behavior
This release fixes the behavior of lg and lgx to always reduce to 2-field.
It also allows P and G alleles as input
This release fixes the behavior of lg and lgx to always reduce to 2-field.
It also allows P and G alleles as input