add a matrix dispatch for as.tbl_cube