calc_retirement_ruin function

Calculating retirement ruin probability