add some kinematics macros