Moving AllToAll routines out of GeneralDistMatrix