% MeanRate fucnction calculets the mean rate of m number of simulations
function MeanRate = Simulation(tau, sigma, L_0, m, n, L) 
% m is number of simulations, Storage stores each iteration in Testone

for s = 1:m
    L = L+ ForwardRate(sigma, L_0, tau, n, L);
    
end
MeanRate = 1/m.*L;
end