Modeling and Closed-Loop Control of Lights for Consistent and Robotic Inspection of Complex Metallic Parts