A Kantorovich computational method for free surface gravity flows