1. Added training data
2. Changed Connected component function
3. Changes in clustering parameters