Added table lookup Z-function based on mathematica table creation.