added functionallity to Point2Point and Hinge costraint