Re-writing initial setup

Added description
Simplified how boundary factors and boundary result digits are
calculated
Deleted redundant digit count function
Replace hardcoded input with commandline parameter