Fix some typos to get spherical geometry in 1d working

There's a bug in the boundary conditions that I don't really
understand. Things only work when the BC's are set on the second-to-last
cell as opposed to the very last one, suggesting that the second-to-last
cell is not being updated correctly.