Added GroundValueConstraint.
Fixed bugs in examples.
Added missing call in MaxMargin.