Remove lib functions, commented out tests
Removed unused model
Merge branch 'lib_reduction' into model_reduction