AppendMatrix