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