Wrote almost all of util.py, and k-means features should be working -- you will need to edit util.py a little to change the feature vector to a numpy vector. The bar confidence feature extractor doesn't work yet since we lose velocity information when we tally the notes in each beat.