Modified the k-means CalculateReturnGroups to return the original position of the elements instead the element