This function takes the processed matrix_terms from wb_formula_parser and creates the actual columns in the data frame for within and between components.
expand_matrix_terms_in_data(matrix_terms, data)List with:
data: Updated data frame with expanded columns
within_cols: All within column names
between_cols: All between column names
List of processed matrix term info
panel_data frame