updated structured-svm to new version: now allows terminate training by setting maxIteration