Optimization and Control for Hybrid Wire Arc Additive Manufacturing