Fix Von Neumann Neighbourhood

The index of the south entity was incorrect for certain topology sizes.
Specifically, topologies with 3, 7 and 8 entities resulted in an index
out of bounds exception.

Wrapping now works correctly for all topology sizes.