insert initialize_torque into init_nodes, take max_torque from config in init_linear_profile_params