outputting csv for libsvm