Keeling network simulation

Just fixing the code.