still improving edge detection, added boundary detection
ported few minor fixes from android branch + draw trees, get segment boundary, segment with boundaries
min&max type selection depending on float/double integral, other minor changes