better discrete distribution generation
Merge branch 'master' of https://github.com/wowus/system-random-effect