fix for kinetic energy without particles
add kinetic and potential energy attributes
 potential energy is zero