Adds weighted randomness
Merge branch 'master' of https://github.com/triazo/music-and-sound-algorithm