Notes on the Theory of Heaving and Pitching