test-n-body-matrix