1. clear codes; 2. As tagged type is passed by ref, use ref instead of access
Make ML.Clustring.Kmeans Generic by withing user access functions