changes in clusteval to adapt for parallelism of iterations