BUG Note there is a slight bug in which it only takes the minimum from the wall coordinates and applys it to
both the source and walls. If by chance a source pixel precedes a wall, then we may end up offsetting the source
off the raster.
This is corrected in the C++ version.
This is a trivial fix. I'm just going to see if I care enough to fix it. I'm going to sleep soon. Part of me wants to keep it so i can stare at it a decade from now.