pass velocity to residual and dx functions
Merge pull request #7 from norihiro-w/react_trans_GIA

pass velocity to residual and dx functions