Performs matrix transpose using serial, pure MPI and shared memory MPI in various branches.