kmeans and gmm implemented, test environment