Thanks for your reply!

I am wondering if the elements in the matrix can be stored as var? I tried to store var in the matrix, but when I print them out, they are all integers.