Adding routines for setting and extracting arbitrary submatrices of sequential and distributed matrices.