do_calc_on_num_cols function

Run some function to produce new columns.