The mathematics of risk of ruin, drawdown limits, and how to calculate the stake sizes that keep your operation sustainable.