Phase Shaping In The Infrared By Planar Quasi-Periodic Surfaces Comprised Of Sub-Wavelength Elements