Numerical Modeling of Free Surface Flows Using Depth Averaged and 3D Models