Now working, but won't work with LibSVM just yet