basic training-example proximity & clustering.
a bit of refactoring & cleanup
Merge pull request #4 from flightstats/training_proximities_and_clustering

Training proximities and clustering