added rest vs no rest classifier code. logLinearOpt some the train and returns accuracy over a validation set specified within the function. featureFuncGen generates the features and labels that I use to train. these functions can be run from main in their designated section. it does take a while to generate the features, so i would recommend just loading the data, ff_matrix.mat and running the logLinearOpt code.