If it’s at all feasible I would recommend upgrading to Brandon Kelly’s matrix rather than trying to hack LG Data Matrix - Leevi is no longer supporting it. There are some instructions on pixelandtonic.com for migrating existing data from LG Data Matrix.