slideWindowCropContour.m added; some optimization performed