Revert "Init Kappa array in evaluator with instance.numClasses() instead of classVotes.length". Merge with the other pull request to fix the bug.

This reverts commit 7c025dca525cbd235bd1a165a44d9b77d6d0fb0d.