Added matrix redistribution.

Uses routines from Scalapack REDIST to redistribute rectangular matrices.