Found an awesome memoization bug in coeff-gen2. added comment to describe, gonna fix tomorrow