Fixed Boundary handling

Modified the code throughout to make the waves and flow boundary
handling in line with XBeach. There is a unknown issue with the offshore
(front) flow  2d abs bnd that creates a O(-3) error with big waves.