fromMatrix function

Create a TileDB array from an R matrix, or return an R matrix