Fixed struct, started fixing sending of submatrices.