clean up of nearest centroid classification; relies on extension of sklearn.metrics.pairwise with a cosine_distance function!
Merge branch 'centroid-update'

Revised NC using new cosine distance in sklearn 0.14