Changed the way iterators work for ellpack matrices