implemented new parts of run_data_assimilation.jl