Fixed a lot of bugs with results >= 99999999999 and results 0 < res < 0.00001 and negative results