some cleaning in the model learning code
Merge branch 'development' of https://github.com/InformationIntegrationGroup/Web-Karma into development