Small bug fixed: number of parameters for the kmeans sample generator