Have you set it to mm in Mach post the top 30 lines of your gcode.. I take it when you make a Z move to cut it does a -Z move and not a +Z There is nothing wrong with Mach it just need to be set up correctly then you will be fine.