MAINT: work in progress -- rao-teh sampling with dense matrices and arrays