fixed up ion dynamics to write current instead of current concentrations