Many updates

Cascading problem with Allele/Gene/Genotype not distinguishing between
Alleles for dimensions, joint types, and rules. Need to fix that.