Macros to perform aget and aset efficiently for mult dim arrays