Add SVM training routine for HOG descriptors