GwRetention function

Calculate groundwater retention of nutrients