Development of an Integrated Free Surface and Groundwater Flow Model