Gets the dimensions of the matrix
row, col
List<int> getDimensions() { List<int> dimensions = [_row, _col]; return dimensions; }