Fix calculation of kinetical and potential eneries.