added some gsl root finding stuff, unfinished, to pf.h
not a lot working with the files in main.cc, needs attention
not much done, just some fiddling