Updated matching algorithm to treat notes as binary rather than counts
Switched from tanh(1-compression) to harmonic_mean(compression) for improved performance