new PDT_table code, qinterp2

new code for generating PDT_table, also started using qinterp2 to
access PDT_table (much faster than interp2).