Switch x & y iteration order.

X looping inner is more intuitive to me. This will be preferred when nesting loops.
Merge pull request #1 from gjjones/loopOrderFix

Switch x & y iteration order.