Adding flexibility to the uncertainty calculations