Added conditional for a special case where the envelope does not require endpoint correction
Added conditional for a special case where the envelope does not require endpoint correction

rjsberry/libemd