n> <span class="n">avg</span>

        <span class="bp">self</span><span class="o">.</span><span class="n">tuning</span><span class="p">(</span><span class="n">values</span><span class="p">,</span> <span class="n">sumRes</span><span class="p">)</span>

        <span class="c1"># if any value is less than 1, increase it and tune the array again</span>
        <span class="k">while</span> <span class="n">np</span><span class="o">.</span><span class="n">any</span><span class="p">(</span><span class="n">values<