[cluster] Improve speed

o covariance determination slowest part for medium to large N => modify arrays in place