Initial commit with all supporting code and test code classify_one_cv.m.