Control Laws for Autonomous Landing on Pitching Decks