fix issue with decoder base and PGM
Merge pull request #139 from somdoron/PGMHighFrequencyBug

Fix issue in PGM with high frequency