Added z opt check box.

For use in the z optimization feature.