Padé approximant for refractive index and nonlocal envelope equations