Closed-loop Feedback For Additive Manufacturing Simulation