writes sparse matrix to a file in LIBSVM format
libsvmwrite('filename', label_vector, instance_matrix);