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.
Merge pull request #27 from rjw57/meshgrid-workaround

testxfm3: replace np.meshgrid with np.mgrid