A Mathematical Model for the Tacking Maneuver of a Sailing Yacht