ks: Tidy.
ks: Re-organize and break out backward-Euler specific stuff.