Title This function extract all-cause mortality probability based on the model's parameters
extract_prob(initial_age, selected_country, time_horizon, gender,
selected_year, cycle_length, prob_data)initial age
country
null for lifetime horizon or number of years
gender
the year the data is extracted from
cycle length in years
data containing probabilities, country and age
five_year_prob