fixed setXYZ()
Merge pull request #7 from szymonkaliski/feature/lab

fixed setXYZ()