* Make matrixToPacket private.