Describir: Rigorous Coupled-Wave Analysis Algorithm for Stratified Two-Dimensional Gratings with Unconditionally Stable H-Matrix Methods