crossvalidation for libSVM