change the rate expression according to Wenkui's suggestion.
setting boundary and initial condition according to Wenkui's suggestion.