implemented pwrapper decorator
Merge pull request #158 from kgentner/pwrapper

Pwrapper