CS with SKLearn

Implemented the CS script using sklearn pairwise distances.