updates to snp calling, with fixes
some fixes