Added an API draft for parameter inputs.
Added KMeansIterative Java example variant with parameterized version of ComputeDistance.