Another fix to Z-order and Hilbert coordinate

Offset the output so that signed comparison gives the right result.