Created guiding_center_function creator