Fix order of data strides in ND histogram.
Fix order of data strides in ND histogram.

In ND histogram the coordinate arrays are looped in the order given by
their numerical types.  This avoids the need to check numerical types
in the innermost loop.  The index strides for the target ND array
must be in a consistent order.

yugangzhang/scikit-beam,licode/scikit-xray,tacaswell/scikit-xray,Nikea/scikit-xray,Nikea/scikit-xray,danielballan/scikit-xray,tacaswell/scikit-xray,yugangzhang/scikit-beam,ericdill/scikit-xray,scikit-xray/scikit-xray,yugangzhang/scikit-beam,ericdill/scikit-xray,ericdill/scikit-xray,scikit-xray/scikit-xray,licode/scikit-beam,licode/scikit-beam,CJ-Wright/scikit-beam,licode/scikit-xray,danielballan/scikit-xray,Nikea/scikit-xray,CJ-Wright/scikit-beam,tacaswell/scikit-beam,CJ-Wright/scikit-beam,tacaswell/scikit-xray,licode/scikit-xray,tacaswell/scikit-beam,danielballan/scikit-xray,licode/scikit-beam,scikit-xray/scikit-xray,tacaswell/scikit-beam