SVM finally accepts texture features!

+ made some more stuff generic