adding column_combinations function and making to_2d more robust