Getter methods for width and rows.