A kinematic notation for lower pair mechanisms based on matrices