Changed to ChiSquare distance
Fixed problem with multiple axis disambiguation.

Enabled command line option for forced retraining.

Added option (including command line option) for partial retraining, in
order to make it a little easier to track down bugs related to training
specific views that might be buried pretty deep.