Reverted changes to md_openmm.c, get rid of 'nan' in averages.