added child tree edge response calculation
improvements to edge response calculation
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