Commit 4

Magnet mode: get closest centroid if data was preprocessed