I (as described</span>
0002 <span class="comment">% in PenOpt/PenBMI manual Section 5.2) into a structure accepted by</span>
0003 <span class="comment">% PenLab via BMI2 or PMI modules, for details see manual or</span>
0004 <span class="comment">%    modules/BMI2/bmi2_define.m.</span>
0005 <span class="comment">% Note that the convertor doesn't do any heavy checking on the input</span>
0006 <span class="comment">% structure. If there were any inconsistencies in 'pen' it might be</span>
0007 <span class="com