Added a bit vector utility.
Added some more tests (why not).
Tweaking.
Self-review.
Merge branch 'master' into match