LibSVM: Wrong index is written to output stream.
python: Add SigmaPi layer cbindings.