Add liblinear interface code from Zach.