Fix -L mode.
Add test for multidimensional tvars array.

It currently fails.
Support multidimensional tvars arrays.
Add test for multidimensional array parameters.
Add support for multidimensional array parameters.