added basic hsmparams functionality in psfcorr.py
(#365)