Added encapsulation by including setters for rows of data matrices