Machine Safety Matting and Switching