R1(:,:,3),1);   <span class="comment">%distribution of realized expense by year</span>
        m.fr.Revenues(1,:,p)=mean(totalFR1(:,:,4),1);   <span class="comment">%distribution of realized revenue by year</span>

        m.bar.base.mean(1,:,p) = mean(m.fr.FinReq(:,:,p));  <span class="comment">%average financial requirement by year</span>
        m.bar.base.std(1,:,p)  = std(m.fr.FinReq(:,:,p));   <span class="comment">%standard deviation of financial requirement by year</span>
        m.bar.base.med(1,:,