Added extra test for AC to clear error conditions
Added error state for calculations, cleared when AC is pressed