Moved user input of matrix size to matrixbuilder class from test class