added a check to see if uncertainty unit and flux unit match