Adds precision when averaged

- allows one to specify the number of digits rendered (if the original number is long enough)
Merge branch 'master' into adds_precision_when_averaged
From tabs to spaces
Adds more tests
Merge pull request #7 from foretagsplatsen/adds_precision_when_averaged

Adds precision when averaged