text-clustering with a self-implemented gaussian mixture model