Give another example of edge count
Remove some dead code
Add -Wall
Handle edges to left and right of the bounds of the raster buffer