The LibSVM code has been slightly modified to accept
customized kernel functions and opaque data types.
