Adapted KMeans example such that also points with assigned cluster IDs are written as result.
Adapted KMeans TestCases.
extend and expose KMeansDataGenerator