If I keep, ``np.uint8`` then I get 255 instead of -1. I could use `np.int8` as well, since I just need +1 or -1 for `nx` and `ny`. I used a float only to be consistent with `dx` and `dy`.