Fixed a bug in the calculation of the number of degrees of freedom for the instantaneous kinetic temperature.