Add z setting.
Merge pull request #3 from FGtatsuro/introduce_z

Introduce z.