adds svm training and test prediction. cleans up overfeat training.

need to make more general purpose. currently failing on classification.