Changed code so that networks of variable length work when dealing with the neural interface for both affectors and effector organs