committing to get up to date
Thought I was already up to date..
Fixed kernel memory allocation issue.
Added code for downsampling. The code does a butterworth filter in state space form before taking every other sample.
added function to pick the best scale based on cqt analysis.
got the best_scale function to properly deal with arrays.