Need to fix line 82 in gradientControl.r to deal with choosing the downstream-most TRACEID in cases where a lake is at a confluence