Added compilation of torquebalancing