An Innovative Tool for Simulation and Control of a Flying-Cutting Machine