Fixed a bug in K-Mean_Clustering function caused by shallow copying.
Added tests