Formatting liblinear training/prediciting so it is compatible to loopInstance.m