added a local gain to the outNode so that each network can be analyzed separately