update correlation method code
update pgl estimation code