The Damping of the Heaving and Pitching of a Ship