Got everything working except the number of digits in the coefficient