Solution to steady and unsteady incompressible Navier-Stokes Equations with a free surface