CalculateKineticEnergy[linkage, ls] Calculates the kinetic energy of the links in ls.
CalculateKineticEnergy[linkage] Calculates the kinetic energy of the whole linkage. Only the links that has assigned mass properties are included in the calculation.