Sounds like you need some tables. Our tables are one-dimensional so you’d need 10: one for the name, and 9 for each element of the 3x3 matrix.
For example, you might name the tables something like this (if you follow the naming convention where the “nt” prefix means integer table and “st” means string table as mentioned in form 1700):
The length of each table would be how many of these matrices you’d ever want to store. Index 0 of each table would correspond to that record (or perhaps part?) index.
How many do you have in mind? How would you want the user to see/enter the data?
Your options are many, here’s one using the table from PAC Display configurator’s toolbox (see below).
Here I’ve just shown lucky 22 parts, would you have a lot more than that?