computing adsorption using last time step's value of cmax, fix the
bug that the front cells' concentrations is negative.