new pg version
Merge https://github.com/qmcgilvery/Samofit
new pg version