Automatic Control of Optimal Pumping Cycles in Airborne Wind Energy