Merge pull request #4 from JonoEPD/master

added 2nd mapping/reduce
Merge pull request #5 from JonoEPD/master

fixed z parsing
returns correct (x,y,z)?