ByteMatrix Class
class procedure DestroyMatrix(matrix: TByteMatrix);
Destroys the matrix and frees allocated memory used by it.