refactor gridsearch, mlp reducing code bloat
data caching in all_tests.m