Add general eigen solver.
Add support for confusion matrix.