Merge pull request #1 from rkoeninger/zflat-initial

Zflat initial
Added Is and As methods to Z
Merge pull request #2 from rkoeninger/master

Pull helper function changes from master