How to Use a Digital Twin and AI to Improve Manufacturing