Fixed issue with classifications not being 0-based.
Merge pull request #19 from IPPETAD/svm

Fixed issue with classifications not being 0-based.