Make get and set the matrix by block.