added localized peak finding, watershed segmentation, and other optimizations.  watershed not currently engaged.