Merge pull request #25 from seancarr/master

reapply bias bugfix
fix threshold for p=16