Update psd.py

Bugfix in psd.py
Merge pull request #1 from josephhardinee/master

Update psd.py