update PkModeling

* added testing
Merge pull request #782 from fedorov/update-PkModeling

update PkModeling