Fix a mistake in calculating calsium dynamics.