KMeans outputs total sum of squares and between cluster sum of squares. Update R method to match Java output. Rename a few output parameters to clarify mathematical meaning.