Matches terms and coefficients to table from paper; adds debug info for checking
tweaks