Added general syntax for multidimensional arrays
Fixed an issue where procedures were being 'stored' in a memory node, so unneccessary walkbacks were generated.