Merge pull request #45 from todvora/master

Fixed maxDepth inconsistency, fixed total counts and percents
Update variety.js
Update CHANGELOG
Version info test (equality of CHANGELOG and variety.js)