Added block iterator for matrices