FIX: Corrected error and detailed balance calculations

 to be consistent with definition
FIX: corrected key for temp for SPICE input

was using temperature setpoint, not actual temp