Added xyz option.
Fixed minor error in xyz.
Merge pull request #67 from Hasimir/master

added xyz