the name of this should probably be something like "generate_numeric_transformation_matrix_function" or "generate_transformation_matrix_function", maybe you can think of something shorter but is a verb and tells what is going on