I'll suggest to try looking at it from another direction
-Can you place your material in a way that would seem flat from the cutter's point of view instead of fixing the machine or NC code
ie place packers underneath to jack-up the stock while running a dial indicator across the top ( dial indicator is held by the spindle collet, DO NOT turn the spindle ON, or you'll find it on the other side of the wall )