extractContBW2 added; sortLabel_order and sortLabel_sigma added; chopContourAtCorner effective length modified from 5 to 1;