Cleaned up unnecessary parameters passed to KMeans.
Cleaned up unnecessary parameters passed to KMeans.
Cleaned up comments
Cleaned up variable declarations.
Swapped out messy while loop in main optimisation.