Fixed semantics of tox_array (should also be more memory efficient).
Merge pull request #527 from vx-k/master

Fixed semantics of tox_array so it will be more more memory efficient.