Concepts and Techniques of Machine Safeguarding