Double safety check for Xorshift bit values.
Make Xorshift bit-related error messages more informative.
Merge pull request #1404 from WebDrake/xorshift

Double safety check for Xorshift bit values.