new plugin for surface tracking and some enhancement for IntensityInRectangle