Dev on neighboors

Implement torus in gr_get_neighbor_states - Closed issue #8