[PATCH 0/3] Some fixes for SVM