refactored functions to take confusion_matrix parameter
Merge branch 'master' of https://github.com/Dracoflamme/CBC