Issue #1 fixed

- https://github.com/TraxNet/ShadingZenCpp/issues/1
- Also changed a few things for code clarity.