Merge pull request #4 from chdinh/master

[maintenance] Reduced Pointer Arrithmetic + Cleanup
[bugfix]
[maintenance] pointers + documentation