Create make_power_function_within_function