Rigorous Coupled Wave Analysis Python