="n">iendp1</span><span class="p">)</span><span class="o">/</span><span class="mf">2.0_wp</span>
<span class="w">            </span><span class="n">Z</span><span class="p">(</span><span class="n">i</span><span class="p">)</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">sum</span><span class="o">/</span><span class="n">alen1</span>
<span class="w">         </span><span class="k">ENDDO</span>
<span class="c">!</span>
<span class="c">!     FORM THE SECOND MOVING A