Fix for correctly specifying cores on torque. Generalize controller parameters and remove higher hwm parameter to use scheme only for optimization