sd">    conditions.</span>

<span class="sd">    If there are atoms that are not bonded to anything, returns [0,1,0]. (For</span>
<span class="sd">    faster computation time)</span>

<span class="sd">    Author: &quot;Gowoon Cheon&quot;</span>
<span class="sd">    Email: &quot;gcheon@stanford.edu&quot;</span>

<span class="sd">    Args:</span>
<span class="sd">        struct (Structure): Input structure</span>
<span class="sd">        connected_matrix: Must be made from the same structure with</span>
<span