span class="n">eigh</span><span class="p">(</span><span class="n">mcdf</span><span class="o">.</span><span class="n">cov</span><span class="p">()</span><span class="o">.</span><span class="n">as_matrix</span><span class="p">())</span>
  <span class="n">S</span> <span class="o">=</span> <span class="n">S</span><span class="p">[::</span><span class="o">-</span><span class="mi">1</span><span class="p">]</span>
  <span class="n">total</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</s