1st version RemoveRedundant.m done
add length restriction defined by len, scalefactor1, scalefactor2
correct the removal of fully contained segment (dur==cand_len)