Input is int or float array
Output is a float nonzero-by-3 array, where
nonzero=`
column 0 holds the data values (converted from int to float, if necessary),
column 1 holds coordinate values (i.e. o+i*d, not indices i) for dimension
1 of input, and column 2 the coordinate values for dimension 2 of input