pan class="o">=</span> <span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">rowLabels</span><span class="p">),</span> <span class="nb">len</span><span class="p">(</span><span class="n">rowLabels</span><span class="p">)))</span> <span class="o">-</span> <span class="mi">1</span>
        <span class="n">D</span> <span class="o">+=</span> <span class="n">np</span><span class="o">.</span><span class="n">identity</span><span class="p">(</span><span class="nb">len</span><span