Fixing PS_TYPE assignment
Merge pull request #2 from dgouldin/master

Fixing PS_TYPE assignment