change name of macro for kmeans_twodim
temporal update
fix bug of macro