Fixing classification quality evaluation.
Updates to benchmark script.
Some bugs fixed.
More checks, still bugs.