e733876574
The easiest thing to implement was to use the i/j numbers, but they were not directly related to image x/y coordinates. This may slow things down a tiny little bit, but it looks much better.