Remove unused variables to avoid clang warning.
Hide methods to avoid clang warning.
Use passed seed in RNG initialization.
Remove redundant data member.
Use declared data members.
Remove unused variables.
Remove unused functions.
Remove unnecessary include.
Fix deprecated Handle initialization.
use precomputed result
Remove unused code.
Remove unused functions
Fix encoding
Merged most changes from pull request #70.