 <span class="comment">% Input checks</span>
0060 <span class="keyword">if</span> nargin == 3          <span class="comment">% Call is for linear resolution</span>
0061     winstr=<span class="string">'boxcar'</span>;
0062     res=<span class="string">'LIN'</span>;
0063 <span class="keyword">elseif</span> nargin == 4
0064     res=<span class="string">'LIN'</span>;          <span class="comment">% Call is for linear resolution</span>
0065 <span class="keyword">elseif</span> nargin == 6
0066     winstr=<span 