Solved bug at matrix iterators