resolve the problem in network.hoc and cells.hoc. (the loop variable is incorrect)