Got the clustering in there. It works but the colors for the individual objects doesn't work, this only effects the unneeded visual varification. I'll still try to get it though.