Reference implementation update to match the document.

Extra content types removed.
Type 2 changed to 19.
New algorithm for deterministic computation of coefficients.
Test vectors updated.
Merge branch 'bip' of https://github.com/cetuscetus/btctool into bip
Test vectors updated.