Use variable number of decimals when displaying Stats
Created by: femtobit
In the C++ code, the precision of the mean when printing Stats
was determined by the error of the mean, which I found to be a nice feature. Thus, I propose adding this to the Python version as well.