Add TriangleConstraint for PSRI classification

+ TriangleConstraint in SigmaPiConstraint.h
+ updates python bindings.