This uses equal rows and columns and only takes nrows as an input variable (not ncols)