Add calculation of kinetic and potential energy for skeleton