Fixed digit definition methods

Fixed issues #1 & #2 by cleaning up the digit setter methods.