Renamed num_variables to nv and num_active_torsions to nt