Source: https://web.mit.edu/2.810/www/files/readings/King_SafetyStock.pdf