Analysis of stacked rotated gratings.