Adds split_factor_to_columns which re-represents factors in multiple columns with small number of levels.