Better Matrix element iterator
Better elementIterator for Array
getElements for Array