added liblinear and use new compGrad