Whoa, I missed this before... Why this funky transposition, and won't it mess with the spacing arguments below? It seems to me that it is exactly the wrong order when using 'C' contiguous arrays, since neighbors in x and y will be miles away on the array.