added code to avoid qinterp2

also added moment generating function code so I don’t have to run that
slow symbolic crap every time. The avoiding qinterp2 didn’t help.