corrected opt bug in calc_train_weights in svm_train
Merge branch 'master' of github.com:scattlab/scattlab