Modify 'envelope.m' for interpolation options