Added cluster algorithm and moved the legend for the star plot