cd E:\GigE_mocap_data\gatsby140\gatsby140_07282013
T0 = tic;
for ii = [2 3 5]
    if ii == 2
        km_filename = '.\Data2\Data2_km\km_09690.mat';
        options = km_initial_conditions(km_filename);
        kinematic_modelfit('gatsby140_km',sprintf('Data%d',ii),9690,9729,options)
    elseif ii == 3
        km_filename = '.\Data3\Data3_km\km_04356.mat';
        options = km_initial_conditions(km_filename);
        kinematic_modelfit('gatsby140_km',sprintf('Data%d',ii),4356,[],options)
    elseif ii == 5
        km_filename = '.\Data5\Data5_km\km_05005.mat';
        options = km_initial_conditions(km_filename);
        kinematic_modelfit('gatsby140_km',sprintf('Data%d',ii),5005,5071,options)
    else
        kinematic_modelfit('gatsby140_km',sprintf('Data%d',ii))
    end
end
T1 = toc(T0)