Fixed up some issues with proper detection of the neighbouring cell. Still doesn't work with the negative coords though.