wrote wrapper to convert to SVMLight format