Fixes on NN enums & samples not using all cores, tests on Maxout