Functions in PMixClus