Fixed uncertainty calculations.