The homogenization limit and waveguide gradient index devices demonstrated through direct visualization of THz fields