xmap_mat function

Return a table applying a function to all combinations of list elements