minor changes to post_proc_script_PEST
few changes to dBres_dBkink_funcs