Support z scaling
Merge pull request #70 from brentongunning/master

Support z scaling