Model Based Clustering Algorithm Python Code