Improved code for analysing clusters and getting meta results.