integration testing: improve utility code

* multi_array copy constructors and assignment operators
* random array generation
* array printing
integration testing: centroid