repf_2d - make list of lists (grid) from function