Corrected the calculation for risk_initial