new function to build classifiers given folder of matrices.