Refactoring tuple and array translation (#741)With the rewrite it is finally possible to use tuples inmulti-dimensional arrays. This should fix #739 #572 #364. (commit: 085bbb9)