Improved 'combineAperiodic'. Simpler, prettier, faster.
Removed unnecessary dependencies.