support arm64
update documentation
changed sizes to NSUInteger
Merge pull request #603 from akhenakh/64bits_support

64bits support (fix #572, fix #504, fix #494)