Main code for conversion of second part to uncertainty

There may still be a few test cases needed here: to compare with
existing (v2) code. Also needed is consideration of for example
"0.1 \pm 23" or "10 \pm 200" where uncertainty is too large for the
integer part.