fix a bug of NloptAdapter that makes orphan but usable java side objects
add mma abased track demo in TriangleContourDemo (the contour builder is NOT avialable now)