Characterizing Three-Dimensional Nanostructures Using Scatterometry