Kinematic tools written for Matlab