Fixed some issues with Linear SVM