Scatterometry for the detection of sub-wavelength features