Modelling Groundwater Flow In A Variably-Connected Aquifer-Stream System