Some cleanup
More general
More cleanup
First working commit (should have been tracking earlier).  Needs optimizing and improving
Merge branch 'master' of https://github.com/craffel/midi-dataset