Fix two errors.

- Wrong implementation of effective relperm.
- update max concentration at the end of the step.