More changes to change row and column to row traversal and column
traversal.