Cost of transport fitness

Added a method to calculate the COT fitness.
Corrected a bug where sim.nOuts wouldn't be set when Graphics == 0,
causing the torques not to be saved.