Wrap update of kinetic energy into separate function
Scale velocity to improve energy conservation
Minor bug fix
Merge branch 'energy_correction' into merge_energy_correction

Conflicts:
	src/md.c
Merge branch 'merge_energy_correction'
Add support of llvm compiler.
Warning fix.