Revert ZFromData.cc

Revert ZFromData.cc to last know good version from commit
4148838894e45a1f9fab9e37669b4e746c3b1cdb

The current version had a bug that prevented compiling.