Non functional refactoring for bigdigits.
Adds std. dev. value for numbers list.
Adds modes. Algorhithm is similar to answer.