added constructors for Constraints (point2point and hinge)