Just curious but why enter the work coor Z at all? What I was taught, hand coding and using mastercam was to do the following:
*Set the top of your stock to Z0.0 (default in mastercam parameters)
*After posting the program set up your work, insert your tool(s), touch off on the top of the stock, go to Offset, cursor/page down to the Geometery Length by tool # press the Tool Length Measure button, cursor over to length wear, enter a negitive value matching the mic'ed value of the shim. *Repeat for all tools used in the program.
Why wouldnt this work for your application? As a recent graduate I still am learning the capabilities of the machines I am programming and running but shouldn't this work? If not let me know before I find out the hard way if not

.
Scott