More general and external calculation of kinematic variables.