testxfm3: replace np.meshgrid with np.mgrid

Replace the usage of meshgrid with an analogous mgrid indexing solution. This
is a little more ugly but it is compatible with older numpys.

Closes #20.