Matrix of ones (memoised)
one_matrix0(...)
...
'nr' integer; number of rows.
'nc' integer; number of columns.
Use empty argument to clear the cache.