Accurate Boundary Treatment in Shallow Water Flow Computations