C program for converting CSV matrix of labels and features to LibSVM format. Modification of Chih-Jen Lin's original version.