Changed Scm_DigitToInt/Scm_IntToDigit for cleaner general API