Adaptive Closed-Loop Control of Wire Arc Additive Manufacturing