Creates a domain for SNP variables; fixes many outstanding issues (listed below):
Fixes #208
Fixes #207
Fixes #206
Fixes #205
Fixes #204