Add command line UI for evaluation.

Attempt to fix convergence criteria.
Merge branch 'fix-perceptron'